package com.yc.cloud.portal.service;

import com.yc.cloud.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.basic.dto.BaseQueryParam;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yc.cloud.portal.dto.request.QuestionCreateParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 企业 服务类
 * </p>
 *
 * @author Yancy
 * @since 2024-01-31
 */
public interface QuestionService extends IService<Question> {

    /***
     * description:查询列表
     * @param param 查询条件
     * @return 数据信息
     */
    IPage<Question> list(BaseQueryParam param);

    Question convertVo(Question question);

    List<Question> convertVo(List<Question> questionList);

    Question create(QuestionCreateParam param);

    Question get(Long id);

    Question update(Long id, Question question);

    boolean delete(Long id);

}



